﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ACH
{
    public partial class StartPage : Form
    {
        public StartPage()
        {
            InitializeComponent();
        }

        private void listView1_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (startListView.SelectedItems.Count == 1)
            {
                switch (startListView.SelectedItems[0].Index)
                {
                    case 7:
                        Members m = new Members();
                        m.MdiParent = this.Parent as Form;
                        m.WindowState = FormWindowState.Maximized;
                        m.Show();
                        break;
                    default:
                        break;
                }
            }
        }
    }
}
